/*默认代码*/
*{padding:0;margin:0;}
a{text-decoration: none;color: #0C0C0C;}
html{width:100vw;height: 100vh;font-size: 14px; /*给后面的rem用*/}
body{min-width: 360px;background-color:whitesmoke;}
header{
    width:100vw;
    height:6vh;
    background-color: #0C0C0C;
    color:  rgba(250, 250, 250, 0.62);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    position: fixed;
    top:0;
    /*定位*/
}
img{
    width:100%;
}
.hrdescr{
    height:1px;
    border:none;
    border-top:1px solid #d9d9d9;
    width: 87vw;
    margin-left: 2rem;
}
header > a{
    color: rgba(250, 250, 250, 0.62);
}
header > a:first-of-type{
    margin-right: auto;
    margin-left: 2rem;
}
header > a:last-of-type{
    margin-right: 2rem;
}
.slider{
    margin-top: 2.5rem;
}
.img-banner{
    height:100%;
    width:100%;
}
.nav > .nav-detail > a:first-of-type > img{
    width: 2rem;
}
.nav{
    margin-top: 0.5rem;
    background-color: white;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-evenly;
    padding: 0.8rem 0;
}
.nav-detail {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
}

/*第一种书籍类型*/
.book-type-one,.book-type-two{
    margin-top: 0.5rem;
    background-color: white;
}
.book-type-one-title,.book-type-two-title{
    padding: 0.8rem 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}
.book-type-one-title > div > span,.book-type-two-title > div > span{
    font-size: 1.2rem;
    font-weight: bold;
    margin-left: 2rem;
}
.book-type-one-title > div > a,.book-type-two-title > div > a{
    margin-right: 2rem;
}
.book-type-one-list{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
}
.book-type-one-detail{
    width:30vw;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    background-color: rgba(250, 250, 250, 0.62);
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
}
.book-type-one-detail > a{
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
}
.book-type-one-detail > a > img{
    width:100%;
    justify-content: space-between;
}
.book-type-one-detail > a > div{
    margin-left: 0.2rem;
    margin-bottom: auto;
    margin-top: 0.2rem;
}
.book-type-one-detail > a > span{
    color: #4E5465;
    font-size: 0.8rem;
    margin-left: auto;
    margin-right: 0.5rem;
}

/*第二种书籍类型*/
.book-type-two-list{
    display: flex;
    flex-flow: column nowrap;
    padding: 0.3rem 0.6rem;
}
.book-type-two-detail{
    background-color: rgba(250, 250, 250, 0.62);
    margin-bottom: 0.6rem;
    display: flex;
}
.book-type-two-detail > img {
    width:20%;
}
.book-type-two-detail-descr{
    margin: 0.3rem 0.3rem 0 0.6rem;
    display: flex;
    flex-flow: column nowrap;
}
.book-type-two-detail-descr > div{
    font-size: 0.9rem;
    color: #1d2026;
}
.book-type-two-detail-descr > div:last-of-type{
   /* margin-top: auto;
    margin-left: auto;*/
    margin:auto 0.2rem 0.1rem auto;
}
.book-type-two-detail-descr > div:last-of-type > span:last-of-type{
    font-size: 0.5rem;
    color: #ffb009;
}
.book-type-two-detail-descr > div:last-of-type > span:first-of-type{
    font-weight: bold;
}
footer{
    width:100vw;
    height:10vh;
    background-color: #0e0f1c;
    color:  rgba(250, 250, 250, 0.62);
    display: flex;
    flex-flow: column wrap;
    font-size: 0.8rem;
    font-weight:bold;
    padding-top: 0.5rem;
}
footer > p{
    margin-left: 0.8rem;
}




